<%-- 
    Document   : UserPengukuran
    Created on : Dec 23, 2013, 9:49:46 AM
    Author     : Kojar
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
    String username = null;
    String privilege = null;
    Cookie[] cookies = request.getCookies();
    if (cookies != null) {
        for (Cookie cookie : cookies) {
            if (cookie.getName().equals("user")) {
                username = cookie.getValue();
            }
            if (cookie.getName().equals("privilege")) {
                privilege = cookie.getValue();
            }
        }
    }
  
%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="css/healby.css">
        <link rel="stylesheet" href="jquery-ui.css">
        <script src="jquery-1.10.2.js"></script>
        <script src="jquery-ui.js"></script>
        <title>JSP Page</title>
    </head>
    <body>
        <div id="main">
        
        <div id="header">
           
            Ini Buat Header / Banner Mungkin ?
        </div>
         

        <div id="Navigasi">
            Buat Navigasi antar page    
        </div>

        <div id="indexLeftColumn">
                    <table>
                        <tr>
                        <td>
                        
                           hi, <%=username %>
                        
                        </td>
                        </tr>
                        <td>
                        
                            <form action="UserProfile" method="post">
                             <input type="submit" name="Profil" value="Profil">
                             </form>
                        
                        </td>
                        <tr>
                        <td>                        
                            <form action="UserPengukuran" method="post">
                             <input type="submit" name="Pengukuran" value="Pengukuran">
                             </form>
                        </td>
                        </tr>
                        <tr>
                        <td>
                            
                        <form action="LogoutServlet" method="post">
                             <input type="submit" name="Logout" value="Logout">
                             </form>
                        </td>   
                        </tr>
                    </table>                  
            </div>

        <div id="indexRightColumn">
            <form action="CobaServlet" method="post">
            <div id="tabs">
                <ul>
                    <li><a href="#fragment-1"><span>Fisik</span></a></li>
                    <li><a href="#fragment-2"><span>Imunisasi</span></a></li>
                    <li><a href="#fragment-3"><span>Vitamin</span></a></li>
                </ul>
                <div id="fragment-1">
                    Tinggi Badan Balita :
                    <%-- <label for="ID1_textNama" class="test-text-NamaBalita">Nama Balita :</label>--%>
                    <input type="text" id="ID1_textNama" name="ID1_textNama" class="test-textNama"
                           />
                    <br>
                    Berat Badan Balita :
                    <%-- <label for="ID1_textUmur" class="test-text-UmurBalita">Umur Balita :</label>--%>
                    <input type="text" id="ID1_textUmur" name="ID1_textUmur" class="test-textUmur"
                           />
                </div>
                <div id="fragment-2">
                    Imunisasi Campak :
                    <%-- <label for="ID1_textNama" class="test-text-NamaBalita">Nama Balita :</label>--%>
                    <input type="text" id="ID2_textNama" name="ID2_textNama" class="test-textNama"
                           />
                    <br>
                    Imunisasi Polio :
                    <%-- <label for="ID1_textUmur" class="test-text-UmurBalita">Umur Balita :</label>--%>
                    <input type="text" id="ID2_textUmur" name="ID2_textUmur" class="test-textUmur"
                           />
                </div>
                <div id="fragment-3">
                    Vitamin A :
                    <%-- <label for="ID1_textNama" class="test-text-NamaBalita">Nama Balita :</label>--%>
                    <input type="text" id="ID3_textNama" name="ID3_textNama" class="test-textNama"
                           />
                    <br>
                    Vitamin B :
                    <%-- <label for="ID1_textUmur" class="test-text-UmurBalita">Umur Balita :</label>--%>
                    <input type="text" id="ID3_textUmur" name="ID3_textUmur" class="test-textUmur"
                           />
                </div>
            </div>
            <INPUT type="submit" value="Coba" name="Coba">
        </form>
        <script>
            $("#tabs").tabs();
        </script>
        </div>

        <div id="footer">
            Buat hak cipta :D
        </div>
    </div>
    </body>
</html>
